package com.addplus.townmall.server.api.model.town.param;

import com.addplus.townmall.server.api.model.town.GiftBatchCard;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * 类名: GiftBatchCardExpand
 *
 * @author zhangjiehang
 * @version V1.0
 * @date 2018/11/23 10:39 PM
 * @description 类描述: 批量礼品卡生产入参类
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
public class GiftBatchCardParam extends GiftBatchCard implements Serializable {

    private static final long serialVersionUID = 5677502190672725717L;
    /**
     * 生成数量
     */
    private Integer createNumber;

    /**
     * 有效开始日期
     */
    @TableField("start_date")
    private Date startValue;

    /**
     * 有效结束日期
     */
    @TableField("end_date")
    private Date endValue;

    private Integer pageNo;
    private Integer pageSize;
}
